#ifndef QRUNTIMESETDIALOG_H
#define QRUNTIMESETDIALOG_H

#include "../libs/core/qbasedialog.h"

namespace Ui {
class QRuntimeSetDialog;
}

struct tagResult
{
    bool enabled_save;
    int  save;
    int  read;
    bool ok;
};

class QRuntimeSetDialog : public QBaseDialog
{
    Q_OBJECT

public:
    explicit QRuntimeSetDialog(QWidget *parent = 0);
    ~QRuntimeSetDialog();
    tagResult   get_result();
    void        set_result(const tagResult& result);
private slots:
    void on_ok_clicked();

    void on_cancel_clicked();

    void on_checkBox_clicked();

private:
    Ui::QRuntimeSetDialog *ui;
    tagResult   m_result;
};

#endif // QRUNTIMESETDIALOG_H
